package cn.xiaopengstack.infrastructure.dao;

import cn.xiaopengstack.infrastructure.dao.po.AiClientAdvisor;
import org.apache.ibatis.annotations.Param;

/**
* @author jiangyangang
* @description 针对表【ai_client_advisor(顾问配置表)】的数据库操作Mapper
* @createDate 2025-08-29 15:15:19
* @Entity cn.xiaopengstack.infrastructure.dao.po.AiClientAdvisor
*/
public interface AiClientAdvisorMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AiClientAdvisor record);

    int insertSelective(AiClientAdvisor record);

    AiClientAdvisor selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AiClientAdvisor record);

    int updateByPrimaryKey(AiClientAdvisor record);

    /**
     * 查询助手配置
     * @param advisorId
     * @return
     */
    AiClientAdvisor queryByAdvisorId(@Param("advisorId") String advisorId);
}
